package tgc.edu.tms.web.form;

import java.util.ArrayList;
import java.util.List;

import tgc.edu.tms.custom.BaseForm;
import tgc.edu.tms.entity.ClassSchedule;
import tgc.edu.tms.entity.Curriculum;
import tgc.edu.tms.entity.TbClass;
import tgc.edu.tms.entity.Teacher;
import tgc.edu.tms.entity.Teachingplan;

public class WorksheetForm extends BaseForm<Integer> {

	private String time;// 时间
	private Teacher teacher;// 教师
	private Integer teacherId;// 教师id
	private Curriculum curriculum;// 课程
	private String tbclassname;// 班级名称
	private Integer number;// 上课人数
	private Integer weeknumber;// 周数
	private Integer period;// 计划学时
	private Integer monthperiod;// 月分班学时
	private double coefficient;// 折合系数
	private double coefficientp;// 分班折合学时
	private String remark;// 备注
	
	
	private ClassSchedule kc;// 课表
	private Teachingplan teachingplan;//上课内容
	
	private List<TbClass> tbclass=new ArrayList<>();

	
	public String getTeacherName() {
		return teacher == null ? null : teacher.getName();
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Curriculum getCurriculum() {
		return curriculum;
	}

	public void setCurriculum(Curriculum curriculum) {
		this.curriculum = curriculum;
	}

	public String getTbclassname() {
		return tbclassname;
	}

	public void setTbclassname(String tbclassname) {
		this.tbclassname = tbclassname;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Integer getWeeknumber() {
		return weeknumber;
	}

	public void setWeeknumber(Integer weeknumber) {
		this.weeknumber = weeknumber;
	}

	public Integer getPeriod() {
		return period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
	}

	public Integer getMonthperiod() {
		return monthperiod;
	}

	public void setMonthperiod(Integer monthperiod) {
		this.monthperiod = monthperiod;
	}

	public double getCoefficient() {
		return coefficient;
	}

	public void setCoefficient(double coefficient) {
		this.coefficient = coefficient;
	}

	public double getCoefficientp() {
		return coefficientp;
	}

	public void setCoefficientp(double coefficientp) {
		this.coefficientp = coefficientp;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}


    public Integer getTeacherId() {
        return teacherId;
    }


    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public ClassSchedule getKc() {
        return kc;
    }

    public void setKc(ClassSchedule kc) {
        this.kc = kc;
    }

    public Teachingplan getTeachingplan() {
        return teachingplan;
    }

    public void setTeachingplan(Teachingplan teachingplan) {
        this.teachingplan = teachingplan;
    }

    public List<TbClass> getTbclass() {
        return tbclass;
    }

    public void setTbclass(List<TbClass> tbclass) {
        this.tbclass = tbclass;
    }

}
